package com.yunweiweishi.xuhuanpaltform.yuhuan_app.service;


import com.yunweiweishi.xuhuanpaltform.yuhuan_app.pojo.Flights;

import java.util.Optional;

public interface FlightsService {


    Optional<Flights> findFlightsByPatrolRouteId(Long patrolRouteId);

    void addFlightsTask(Flights flights);

    void updateFlightsById(Flights flights);

    void deleteFlightsById(Long id);
}
